﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace CRM.BLL
{
    public class PartsBrandsB
    {
        #region PartsBrands
        /// <summary>
        /// 获取PartsBrands信息
        /// </summary>
        public DataTable GetPartsBrands(ref CRM.MODEL.GetPartsBrands stu)
        {
            CRM.DAL.PartsBrandsD obj = new CRM.DAL.PartsBrandsD();
            DataTable dt = obj.ExecuteGetPartsBrands(ref stu);
            obj.Dispose();
            return dt;
        }

        /// <summary>
        /// 编辑PartsBrands信息
        /// </summary>
        public int EditPartsBrands(ref CRM.MODEL.EditPartsBrands stu)
        {
            CRM.DAL.PartsBrandsD obj = new CRM.DAL.PartsBrandsD();
            int effectRow = obj.ExecuteEditPartsBrands(ref stu);
            obj.Dispose();
            return effectRow;
        }
        #endregion
    }
}
